import java.util.Scanner;

/**
 * DomWon
 * Created with Intellij IDEA.
 * Description:
 * User:WEI
 * Date:2023/3/16
 * Time:13:23
 */
public class TestDemo {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNext()) {
            int x = scan.nextInt();
            int y = scan.nextInt();
            int w = scan.nextInt();
            int h = scan.nextInt();

            System.out.println(x+","+y+","+(x+w)+","+(y+h));
        }
    }
}
